package com.example.webapp.hibernate.forum;

import java.util.Calendar;

import com.example.webapp.hibernate.user.User;

public class ForumPost {
	private long postId;
	private String title;
	private String content;
	private Calendar created;
	private Calendar edited;
	private User createdBy;
	
	private ForumThread thread;

	public long getPostId() {
		return postId;
	}

	public void setPostId(long postId) {
		this.postId = postId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Calendar getCreated() {
		return created;
	}

	public void setCreated(Calendar created) {
		this.created = created;
	}

	public Calendar getEdited() {
		return edited;
	}

	public void setEdited(Calendar edited) {
		this.edited = edited;
	}

	public User getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(User createdBy) {
		this.createdBy = createdBy;
	}
	
	public ForumThread getThread() {
		return thread;
	}
	
	public void setThread(ForumThread thread) {
		this.thread = thread;
	}
}
